/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package Entity;

import com.google.appengine.api.datastore.Key;
import com.google.appengine.repackaged.org.joda.time.DateTime;
import javax.jdo.annotations.IdGeneratorStrategy;
import javax.jdo.annotations.IdentityType;
import javax.jdo.annotations.PersistenceCapable;
import javax.jdo.annotations.Persistent;
import javax.jdo.annotations.PrimaryKey;

@PersistenceCapable(identityType=IdentityType.APPLICATION)
public class BDoc {
    @PrimaryKey
    @Persistent(valueStrategy=IdGeneratorStrategy.IDENTITY)
    private Long BDocID;

    @Persistent private String DocNum; // Sổ ghi số
    @Persistent private String SignByName; // Người ký
    @Persistent private DateTime SignDate; // Ngày ký
    @Persistent private String Subject; // Nội dung trích yếu
    @Persistent private String Notes; // Ghi chú
    @Persistent private DateTime DraftDate; // Ngày soạn
    @Persistent private String DraftUserName; // Tên người soạn
    @Persistent private Long ReplyReceiveName; // Trả lời VB nội bộ số

    public Long getBDocID(){
        return BDocID;
    }
    public String getDocNum() {
        return DocNum;
    }

    public void setDocNum(String DocNum) {
        this.DocNum = DocNum;
    }

    public String getSignByName() {
        return SignByName;
    }

    public void setSignByName(String SignByName) {
        this.SignByName = SignByName;
    }

    public DateTime getSignDate() {
        return SignDate;
    }

    public void setSignDate(DateTime SignDate) {
        this.SignDate = SignDate;
    }

    public String getSubject() {
        return Subject;
    }

    public void setSubject(String Subject) {
        this.Subject = Subject;
    }

    public String getNotes() {
        return Notes;
    }

    public void setNotes(String Notes) {
        this.Notes = Notes;
    }

    public DateTime getDraftDate() {
        return DraftDate;
    }

    public void setDraftDate(DateTime DraftDate) {
        this.DraftDate = DraftDate;
    }

    public String getDraftUserName() {
        return DraftUserName;
    }

    public void setDraftUserName(String DraftUserName) {
        this.DraftUserName = DraftUserName;
    }

    public Long getReplyReceiveName() {
        return ReplyReceiveName;
    }

    public void setReplyReceiveName(Long ReplyReceiveName) {
        this.ReplyReceiveName = ReplyReceiveName;
    }
}
